package com.yunpeng.dishes.dao.model.relation;

import com.yunpeng.dishes.dao.model.RelationDO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * DishesNutrientsDO 菜品营养元素明细表
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
public class DishesNutrientsDO extends RelationDO {
    /**
     * 菜品代码
     */
    private String dishesCode;
    /**
     * 菜品名称
     */
    private String dishesName;
    /**
     * 营养元素代码
     */
    private String nutrientsCode;
    /**
     * 营养元素名称
     */
    private String nutrientsName;
    /**
     * 营养元素类别
     */
    private String nutrientsCategory;
    /**
     * 营养元素净含量
     */
    private BigDecimal netContent;
    /**
     * 营养元素计量单位
     */
    private String nutrientsUnit;
    /**
     * 展示序号
     */
    private Short seq;

    public DishesNutrientsDO() {
    }

    public DishesNutrientsDO(Long id, Short flag, Long creator, Date createTime, Long updater, Date updateTime, String dishesCode, String dishesName, String nutrientsCode, String nutrientsName, String nutrientsCategory, BigDecimal netContent, String nutrientsUnit, Short seq) {
        super(id, flag, creator, createTime, updater, updateTime);
        this.dishesCode = dishesCode;
        this.dishesName = dishesName;
        this.nutrientsCode = nutrientsCode;
        this.nutrientsName = nutrientsName;
        this.nutrientsCategory = nutrientsCategory;
        this.netContent = netContent;
        this.nutrientsUnit = nutrientsUnit;
        this.seq = seq;
    }

    public String getDishesCode() {
        return dishesCode;
    }

    public void setDishesCode(String dishesCode) {
        this.dishesCode = dishesCode;
    }

    public String getDishesName() {
        return dishesName;
    }

    public void setDishesName(String dishesName) {
        this.dishesName = dishesName;
    }

    public String getNutrientsCode() {
        return nutrientsCode;
    }

    public void setNutrientsCode(String nutrientsCode) {
        this.nutrientsCode = nutrientsCode;
    }

    public String getNutrientsName() {
        return nutrientsName;
    }

    public void setNutrientsName(String nutrientsName) {
        this.nutrientsName = nutrientsName;
    }

    public String getNutrientsCategory() {
        return nutrientsCategory;
    }

    public void setNutrientsCategory(String nutrientsCategory) {
        this.nutrientsCategory = nutrientsCategory;
    }

    public BigDecimal getNetContent() {
        return netContent;
    }

    public void setNetContent(BigDecimal netContent) {
        this.netContent = netContent;
    }

    public String getNutrientsUnit() {
        return nutrientsUnit;
    }

    public void setNutrientsUnit(String nutrientsUnit) {
        this.nutrientsUnit = nutrientsUnit;
    }

    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    @Override
    public String toString() {
        return "DishesNutrientsDO{" +
                "id=" + id +
                ", dishesCode='" + dishesCode + '\'' +
                ", dishesName='" + dishesName + '\'' +
                ", nutrientsCode='" + nutrientsCode + '\'' +
                ", nutrientsName='" + nutrientsName + '\'' +
                ", nutrientsCategory='" + nutrientsCategory + '\'' +
                ", netContent=" + netContent +
                ", nutrientsUnit='" + nutrientsUnit + '\'' +
                ", seq=" + seq +
                ", flag=" + flag +
                ", creator='" + creator + '\'' +
                ", createTime=" + createTime +
                ", updater='" + updater + '\'' +
                ", updateTime=" + updateTime +
                "} " + super.toString();
    }
}